def check(response,status_code=200,code=200,msg="成功"):
    assert response.status_code == status_code
    assert response.json().get("code") == code
    assert msg in response.text